Управление расчётом

{if $data} {foreach $data as $r} {/foreach}
ID# Наименование
{$r.id} {$r.name|escape}
{/if}
{capture name="js-template-DeleteRuleDialog"}

Подтверждение удаления

{literal}

{{>message}}

{/literal}
{/capture} {foreach $smarty.capture as $name => $template}{if strpos($name, 'js-template')==0} {/if} {/foreach}